<?php
namespace app\common\errcode;

class AdminErrCode
{
    CONST SUCCESS                 = 10000;      //请求成功
    CONST FAIL                    = -1;         //请求失败
    CONST SYSTEM_ERROR            = 20500;      //系统错误
    CONST PARAM_ERROR             = 20100;      //参数错误
    CONST LOGIN_FAIL              = 20101;      //登录失败
    CONST JWT_ERROR               = 20102;      //token验证失败 
    CONST JWT_EXPIRE              = 20103;      //token过期
    CONST ADD_CAT_FAIL            = 20104;      //新增分类失败
    CONST DELETE_CAT_FAIL         = 20105;      //删除分类失败
    CONST EDIT_CAT_FAIL           = 20106;      //编辑分类失败
    CONST ADD_TOOL_FAIL           = 20107;      //新增工具失败
    CONST DELETE_TOOL_FAIL        = 20108;      //删除工具失败
    CONST HANDLE_TOOL_FAIL        = 20109;      //编辑工具失败
    CONST EDIT_CONTENT_FAIL       = 20110;      //编辑内容失败
    CONST EDIT_USER_PICNUM_FAIL   = 20111;      //编辑用户文生图次数失败
}